package com.example.login;

import com.example.hibernate.pojos.IUsers;
import com.vaadin.Application;

public class LoggedInUserDetails implements ILoggedInUserDetails{

	private IUsers users = null;
	private Application app = null;

	public IUsers getUsers() {
		return users;
	}

	public void setUsers(IUsers users) {
		this.users = users;
	}

	public Application getApp() {
		return app;
	}

	public void setApp(Application app) {
		this.app = app;
	}

	public boolean validateLoginStatus() {
		if (users==null)
			return false;
		return true;
	}
	
	
}
